﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.Intrinsics.X86;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// 领星发货结算报告
    /// </summary>
    /// 

    public class SettlementDTO
    {
        public String code { get; set; }
        public String msg { get; set; }
        public bool success { get; set; }
        public String traceId { get; set; }
        public Settlement_List data { get; set; }

    }

    public class Settlement_List
    {
        /// <summary>
        /// 总数
        /// </summary>
        public int total { get; set; }

        /// <summary>
        /// 记录列表
        /// </summary>
        public List<Settlement> records { get; set; }
    }

    public class Settlement
    {
        public String ID { get; set; }
        public String RowId { get; set; }

        /// <summary>
        /// 亚马逊店铺id
        /// </summary>
        public String sellerId { get; set; }

        /// <summary>
        /// 店铺id
        /// </summary>
        public String sid { get; set; }

        /// <summary>
        /// 店铺名称
        /// </summary>
        public String sellerName { get; set; }
        /// <summary>
        /// 国家编码
        /// </summary>
        public String countryCode { get; set; }
        /// <summary>
        /// 亚马逊订单id
        /// </summary>
        public String amazonOrderId { get; set; }

        /// <summary>
        /// 亚马逊包裹详情id	
        /// </summary>
        public String shipmentItemId { get; set; }
        /// <summary>
        /// 配送编号
        /// </summary>
        public String shipmentId { get; set; }
        /// <summary>
        /// msku	
        /// </summary>
        public String msku { get; set; }
        /// <summary>
        /// sku	
        /// </summary>
        public String localSku { get; set; }
        /// <summary>
        /// 品名
        /// </summary>
        public String localName { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public String quantity { get; set; }

        /// <summary>
        /// 发货时间
        /// </summary>
        public String shipmentsDateLocale { get; set; }



        /// <summary>
        /// 结算时间	
        /// </summary>
        public String financePostedDateLocale { get; set; }

        /// <summary>
        /// 结算编号	
        /// </summary>
        public String settlementId { get; set; }

        /// <summary>
        /// 结算与发货间隔	
        /// </summary>
        public String daysBetweenShipAndFiance { get; set; }

        /// <summary>
        /// 转账时间	
        /// </summary>
        public String fundTransferDateLocale { get; set; }

        /// <summary>
        /// 转账状态	
        /// </summary>
        public String fundTransferStatus { get; set; }

        /// <summary>
        /// 结算状态	
        /// </summary>
        public String processingStatus { get; set; }

        /// <summary>
        /// 销售金额	
        /// </summary>
        public String itemPrice { get; set; }

        /// <summary>
        /// 销售税额
        /// </summary>
        public String itemTax { get; set; }

        /// <summary>
        /// 买家运费
        /// </summary>
        public String shippingPrice { get; set; }


        /// <summary>
        /// 买家运费税额
        /// </summary>
        public String shippingTax { get; set; }

        /// <summary>
        /// 礼品包装金额
        /// </summary>
        public String giftWrapPrice { get; set; }

        /// <summary>
        /// 礼品包装税额
        /// </summary>
        public String giftWrapTax { get; set; }

        /// <summary>
        /// 促销折扣（商品）
        /// </summary>
        public String itemPromotionDiscount { get; set; }

        /// <summary>
        /// 促销折扣（运费）
        /// </summary>
        public String shipPromotionDiscount { get; set; }

        /// <summary>
        /// 币种
        /// </summary>
        public String currencyCode { get; set; }

        /// <summary>
        /// 物流追踪编号
        /// </summary>
        public String trackingNumber { get; set; }

        /// <summary>
        /// 销售渠道
        /// </summary>
        public String salesChannel { get; set; }

        /// <summary>
        /// 自定义订单编号
        /// </summary>
        public String merchantOrderId { get; set; }


        /// <summary>
        /// 品牌
        /// </summary>
        public String brandName { get; set; }
        /// <summary>
        /// 分类
        /// </summary>
        public String categoryName { get; set; }
        /// <summary>
        /// listing负责人
        /// </summary>
        public String listing { get; set; }
        /// <summary>
        /// 开发负责人
        /// </summary>
        public String productDeveloper { get; set; }
        /// <summary>
        /// 下单时间
        /// </summary>
        public String purchaseDateLocale { get; set; }
        /// <summary>
        /// 付款时间
        /// </summary>
        public String paymentsDateLocale { get; set; }
        /// <summary>
        /// 销售国家
        /// </summary>
        public String saleCountryName { get; set; }
        /// <summary>
        /// 销售地区
        /// </summary>
        public String region { get; set; }
        /// <summary>
        /// 销售城市
        /// </summary>
        public String shipCity { get; set; }
        /// <summary>
        /// 邮编
        /// </summary>
        public String shipPostalCode { get; set; }
        /// <summary>
        /// 物流方式
        /// </summary>
        public String logisitcsMode { get; set; }
        /// <summary>
        /// 运营中心
        /// </summary>
        public String fulfillmentCenterId { get; set; }
        /// <summary>
        /// 配送方式
        /// </summary>
        public String fulfillment { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public String gmtModified { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public String Creater { get; set; }

    }
}
